import Vue from 'vue'
import { Button } from 'element-ui'
import { Form , FormItem } from 'element-ui'
import { Input } from 'element-ui'
//弹窗组件
import {Message,container,Header,Aside,Main,
        Menu,MenuItem,MenuItemGroup,Submenu,
        breadcrumb,breadcrumbItem,Card,Row,Col,
        Table,TableColumn,Switch,Tooltip,Pagination,
        DatePicker,TimePicker,RadioGroup,Select,Option,CheckboxGroup,
        Checkbox,Radio,Dialog,MessageBox,Tag} from 'element-ui'


Vue.use(Button)
Vue.use(Form)
Vue.use(FormItem)
Vue.use(Input)
Vue.use(container)
Vue.use(Header)
Vue.use(Aside)
Vue.use(Main)
Vue.use(Menu)
Vue.use(MenuItem)
Vue.use(MenuItemGroup)
Vue.use(Submenu)
Vue.use(breadcrumb)
Vue.use(breadcrumbItem)
Vue.use(Card) 
Vue.use(Row)
Vue.use(Col)
Vue.use(Table)
Vue.use(TableColumn)
Vue.use(Switch)
Vue.use(Tooltip)
Vue.use(Pagination)
Vue.use(DatePicker)
Vue.use(TimePicker)
Vue.use(RadioGroup)
Vue.use(Select)
Vue.use(Option)
Vue.use(CheckboxGroup)
Vue.use(Checkbox)
Vue.use(Radio)
Vue.use(Dialog)
Vue.use(Tag)

//Vue.prototype.$message自定义属性 $后买你可以随便写
Vue.prototype.$message = Message
Vue.prototype.$confirm = MessageBox.confirm